class QuestionType
  include Mongoid::Document

  field :name, type: String
  belongs_to :section

  # has_many :questions
  has_many :question_versions, dependent: :restrict

  embeds_many :question_fields, order: :position.asc

  def validate_question_data(data)
    
  end
end
